<template>
  <div class="sm-tag">
    <slot>{{ text }}</slot>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  props: {
    text: String
  }
};
</script>

<style>
.sm-tag {
  height: 20px;
  display: inline-block;
  color: #3965cc;
  border-radius: 10px;
  border: 1px solid #93b2f7;
  background: #e5efff;
  margin: 3px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
}
</style>
